package com.example.demo.entity.response.develop;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.example.demo.common.entity.pojo.BaseEntityPoJo;
import com.example.demo.common.entity.response.BaseResponse;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author lzy
 * @date 2020-09-09 17:28:01
 */
@Data
public class DevelopBomResponse extends BaseResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long companyId;
	/**
	 * $column.comments
	 */
	private String companyName;
	/**
	 * $column.comments
	 */
	private String name;
	/**
	 * $column.comments
	 */
	private String spec;
	/**
	 * $column.comments
	 */
	private String code;
	/**
	 * $column.comments
	 */
	private Long createId;
	/**
	 * $column.comments
	 */
	private String createName;
	/**
	 * $column.comments
	 */
//	private Boolean deleteFlag;
	/**
	 * $column.comments
	 */
	@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(timezone = "GMT+8",
			pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "delete_time", fill = FieldFill.INSERT_UPDATE)
	@ApiModelProperty(value = "删除时间")
	@ExcelIgnore
	private Date deleteTime;


}
